package com.lxh;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author lxh
 * @date 2022/3/1 13:34
 */
@SpringBootApplication
@MapperScan("com.lxh.mapper")
public class MainApplication {

    public static void main(String[] args) {
        Logger logger= LoggerFactory.getLogger(MainApplication.class);
        SpringApplication.run(MainApplication.class, args);
        logger.info("---------------demo服务启动成功--------------------");
    }

}
